# -*- coding: utf-8 -*-
#
import os

from .conf import ConfigManager

__all__ = ['BASE_DIR', 'PROJECT_DIR', 'VERSION', 'CONFIG']

BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
PROJECT_DIR = os.path.dirname(BASE_DIR)
VERSION = '1.0.0'

# 创建conf目录
CONF_DIR = os.path.join(PROJECT_DIR, 'conf')
os.makedirs(CONF_DIR, exist_ok=True)

CONFIG = ConfigManager.load_user_config(root_path=CONF_DIR)
